Atum\Api\Controllers\V3\SuppliersController D

Total Complexity 126
Dependencies 12
Dependents 0
Total lines 1,378
Lines of code 838
Logical lines of code 296
Comment lines 298
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
C
36 24 77
get_items()
B
31 19 111
prepare_item_for_response()
B
35 17 86
get_item_schema()
A
27
1 230
create_item()
A
45 11 38
delete_item()
A
44 10 40
update_item()
A
48 9 30
handle_status_param()
A
52 9 24
register_routes()
S
40 1 77
get_collection_params()
S
44 1 55
handle_featured_media()
S
59 3 15
delete_item_permissions_check()
S
65 4 7
update_item_permissions_check()
S
65 4 7
get_item_permissions_check()
S
65 4 7
create_item_permissions_check()
S
69 2 6
get_items_permissions_check()
S
69 2 6
batch_items_permissions_check()
S
69 2 6
get_object()
S
80 1 3
prepare_links()
S
64 1 10
get_supplier_post_statuses()
S
77 1 3